import Mock from 'mockjs';

let item = [{
		key: "/account/all",
		method: "get",
		param: {
			
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA|1-4': [{
					"accountid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"clientid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"nickname": "@cword(6,9)",
					"openid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					'tel|11': /[0-9]/,
					'vipInfo': '[{"typeid":"TP202341","name":"球速","st":"2023-05-31 12:00:00","et":"2023-05-31 12:00:00","count":10,"ts":360},{"typeid":"TP202342","name":"杀球","st":"","et":"","count":10,"ts":0},{"typeid":"TP202343","name":"打点","st":"","et":"","count":10,"ts":0},{"typeid":"TP202344","name":"综合测试","st":"","et":"","count":10,"ts":0}]'
					

				}]
			});
		}
	},
	{
		key: "/account/page",
		method: "get",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					'current': 0,
					'size': 10,
					'pages': 6,
					'total': 55,
					"records|10": [{
						"accountid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"clientid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						"nickname": "@cword(6,9)",
						"openid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
						'tel|11': /[0-9]/,
						'vipInfo': '[{"typeid":"TP202341","name":"球速","st":"2023-05-31 12:00:00","et":"2023-05-31 12:00:00","count":10,"ts":360},{"typeid":"TP202342","name":"杀球","st":"","et":"","count":10,"ts":0},{"typeid":"TP202343","name":"打点","st":"","et":"","count":10,"ts":0},{"typeid":"TP202344","name":"综合测试","st":"","et":"","count":10,"ts":0}]'
						
					}]
				}
			});
		}
	},
	{
		key: "/account/info",
		method: "get",
		prarm: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {
					"accountid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"clientid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					"nickname": "@cword(6,9)",
					"openid|4": /[A-Z][a-z][0-9][0-9][0-9][0-9][0-9][0-9]/,
					'tel|11': /[0-9]/,
					'vipInfo': '[{"typeid":"TP202341","name":"球速","st":"2023-05-31 12:00:00","et":"2023-05-31 12:00:00","count":10,"ts":360},{"typeid":"TP202342","name":"杀球","st":"","et":"","count":10,"ts":0},{"typeid":"TP202343","name":"打点","st":"","et":"","count":10,"ts":0},{"typeid":"TP202344","name":"综合测试","st":"","et":"","count":10,"ts":0}]'
				}
			})
		}
	},

	{
		key: "/account/info",
		method: "post",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/account/info",
		method: "put",
		param: {
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},
	{
		key: "/account/info",
		method: "delete",
		param: {
			empId: '',
		},
		data: () => {
			return Mock.mock({
				'STATUS': "SUCCESS",
				'DATA': {

				}
			})
		}
	},

]
export default item;